This is a comment from a British citizen, a never-was JW, and someone who was a cop for 30+ years.
I swore an an oath when I was appointed. That gave me powers and responsibilities, for which I was personally liable. It made me liable to prosecution at Common Law for misconduct in my office. The powers were substantial.
I exercised my powers in accordance with the law. That changed from time to time. If at any time I had found that what the law required me to do was incompatible with my personal beliefs I could have resigned my appointment.
I have, I am afraid, no sympathy at all for this woman or her supporters. She has been found to be in contempt of court, has failed to purge her contempt, and has properly been punished for that contempt. In an organised society, where the courts are the guardians, there could be no other outcome. One complies with the law, or on suffers the penalty.
It is interesting to contemplate alternative scenarios. What if, for example, there was a US state, or county, where Islamic voters prevailed and it was legal for a man to have three (or more) wives? A county clerk (because of her religious beliefs) declined to issue marriage licences for the second and third marriages? If the majority democratic will of that state/county was otherwise, what would happen?
This is not a purely hypothetical question.